﻿namespace WebApplication1.Models.商品信息
{
    [SqlSugar.SugarTable(tableName: "goodmodel")]
    public class GoodsModel: BaseModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "RId")]
        public int RId { get; set; }

        /// <summary>
        /// 商品名称(外键)
        /// </summary>\
        [SqlSugar.SugarColumn(ColumnName = "NId")]
        public int NId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GBatch")]
        public string GBatch { get; set; }
        /// <summary>
        /// 保质期(天数)
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GDay")]
        public int GDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GGeneration")]
        public string GGeneration { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GCompany")]
        public string GCompany { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GInformation")]
        public int GInformation { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "GImg")]
        public string GImg { get; set; }

        /// <summary>
        /// 产品报告图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "ProductImg")]
        public string ProductImg { get; set; }


        /// <summary>
        /// 逻辑删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "IsDelete")]
        public bool IsDelete { get; set; }


       
    }
}
